﻿namespace Keep.API.Common.L.Dtos
{
    public class DepartmentListDto
    {
        /// <summary>
        /// 组织ID
        /// </summary>
        public int OrgId { get; set; }
        /// <summary>
        /// 组织名称
        /// </summary>
        public string OrgName { get; set; }
        /// <summary>
        /// 组织编码
        /// </summary>
        public string OrgCode { get; set; }
        /// <summary>
        /// 父级ID
        /// </summary>
        public int ParentId { get; set; }
        /// <summary>
        /// 父级名称
        /// </summary>
        public string ParentName { get; set; } 
        /// <summary>
        /// 创建人名
        /// </summary>
        public string? CreateName { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateDate { get; set; } 
        /// <summary>
        /// 修改人名
        /// </summary>
        public string? UpdateName { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? UpdateDate { get; set; }  
        /// <summary>
        /// 子部门
        /// </summary>
        public List<DepartmentListDto> Children { get; set; }
    }
}
